<%--
  Created by IntelliJ IDEA.
  User: Lamb
  Date: 2021/12/3
  Time: 13:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>SingleNew</title>
    <style>
        .new{
            width: 50%;
            margin: 100px auto;
        }
        .content{
            font-size: 1.5rem;
        }
        .time{
            color: gray;
        }
    </style>
</head>
<body>
<div class="header">
    <%@include file="WEB-INF/views/header.jsp" %>
</div>
<div class="new">
    <h1>${requestScope.singleNew.getTitle()}</h1><br>
    <p class="content">${requestScope.singleNew.getContent()}</p><br>
    <p class="time">${requestScope.singleNew.getDate()}</p><br>
</div>
</body>
</html>
